package apirouter

import (
	"slgw_web/api"

	"openzbox.com/frame/echo"
	"openzbox.com/frame/echo/middleware"
)

func InitMangerUserRouter(group *echo.Group) {
	router := group.Group("/manageUser")

	router.POST("/login", api.Login)
	router.GET("/GetUserName", api.GetUserName, middleware.AuthMiddleware())
	router.POST("/EditUserName", api.EditUserName, middleware.AuthMiddleware())
	router.POST("/EditUserPassWord", api.EditUserPassWord, middleware.AuthMiddleware())
	router.GET("/InitUser", api.InitUser) //初始化账号密码 隐藏接口
	// ...其他路由
}
